package org.yes.anotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * User: mtymes
 * Date: May 26, 2010
 * Time: 10:34:56 PM
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ProcessHeader {

    public String headerText();

    // todo: can't be regexHeader and isReferenceName in the same time - add validation

    // todo: implement
//    public boolean regexHeader() default false;

    // todo: implement
//    public boolean isReferenceName() default false;

    public boolean isRequired() default true;
}